<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Made with Thimble</title>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>

</head>

<body>

<div id="app-life">
        {{ xx }}
</div>

<script>

    var app = new Vue({
        el:"#app-life",
        data: {
            xx:"oo"
        },
        beforeCreate:function(){
            var div = document.getElementById("app-life");
            console.log("beforeCreate>> "+ div.textContent);
        },
        created: function () {
            var div = document.getElementById("app-life");
            console.log("created>> "+ div.textContent);
        },
        beforeMount:function(){
            var div = document.getElementById("app-life");
            console.log("beforeMount>> "+ div.textContent);
        },
        mounted:function(){
            var div = document.getElementById("app-life");
            console.log("mounted>> "+ div.textContent);
        },
        beforeUpdate:function(){
            var div = document.getElementById("app-life");
            console.log("beforeUpdate>> "+ div.textContent);
        },
        updated:function(){
            var div = document.getElementById("app-life");
            console.log("updated>> "+ div.textContent);
        },
        beforeDestory:function(){
            var div = document.getElementById("app-life");
            console.log("beforeDestory>> "+ div.textContent);
        },
        destoryed:function(){var div = document.getElementById("app-life");
            console.log("destoryed>> "+ div.textContent);
        }

    });

</script>
</body>
</html>
